<template>
    <div class="queryDiv">
        <label class="queryLabel">用户名</label>
        <el-input v-model="queryInfo.keyword" placeholder="请输入内容" style='width:200px'></el-input>
        <el-button @click="Refresh" type="primary">查询</el-button>
    </div>
</template>
<script>
export default {
    mounted() {
            // this.ajax({
            //     url: 'api/SystemUser/GetNullData?dataType=2',
            //     success: function(data) {
            //         this.queryInfo = data;
            //     }
            // });
        },
        data() {
            return {
                queryInfo: {}
            }
        },
        methods: {
            Refresh() {
                if(this.$parent.queryInfo != undefined){
                  this.$parent.queryInfo = JSON.parse(JSON.stringify(this.queryInfo));
                }
                this.$emit("Refresh");
            }
        }

}
</script>
<style scoped>
.queryLabel {
    font-size: 14px;
    margin: 0 6px 0 15px;
}

.queryDiv {
    margin: 10px 0;
}

.seachBtn {
    margin-left: 15px;
    height: 30px;
    line-height: 30px;
    padding: 0 15px;
}

.el-select {
    width: 180px;
}

.el-input__inner {
    height: 30px;
}
</style>
